package com.example.base.entity

import com.chad.library.adapter.base.entity.MultiItemEntity

data class ProductEntity(
    val limit: Int,
    val list: List<Product>,
    val page: Int,
    val total: Int,
    val totalPage: Int
)

data class Product(
    val activity: String,
    val activityH5: Any,
    val cartNum: Any,
    val ficti: Int,
    val flatPattern: String,
    val id: Int,
    val image: String,
    val otPrice: Any,
    val price: String,
    val sales: Int,
    val stock: Int,
    val storeName: String,
    val unitName: String,
    var type:Int
): MultiItemEntity{
    override val itemType: Int
        get() = type
}